# https://docs.bazel.build/versions/master/be/c-cpp.html#cc_binary
cc_binary(
    name = "test",
    srcs = glob(["include/*.h", "src/*.cpp"]),
    copts = ["-Iinclude"],
    deps = [
        "@tensorflow_lib//tensorflow:tensorflow",
    ],
    linkopts = [
        "-Wl,--whole-archive",
        "-Wl,--allow-multiple-definition",
        "-ldl",
        "-pthread",
    ],
)